feat: add inspect_system_call method to Evm trait#2
Open
Conversation
Adds a dedicated inspect_system_call method that executes system calls with inspection enabled without committing state changes. This separates the concerns of inspection and transaction execution for system calls. - Add inspect_system_call to Evm trait with documentation - Implement across all EVM types (Either, EthEvm, OpEvm) - Refactor transact_system_call to always use non-inspecting variant - Add required ResultAndState import to either.rs Update Cargo.toml Update either.rs
/Users/rezbera/.cargo/git/checkouts/evm-a88271af1ed6f985/9e19de0/crates/evm/src/tracing.rs:152 screws us as it hardcodes transact into the iterator. We either have to do this or override trace_block_until_with_inspector
rezzmah
added a commit
to berachain/bera-reth
that referenced
this pull request
Aug 7, 2025
closes #69 This solution depends on forking alloy-evm, found here berachain/evm#2 also removed access list from deserialization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
temporarily till upstream merged alloy-rs#146